﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012E9 RID: 4841
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SyncRogueAreaUnlockScNotify : IMessage<SyncRogueAreaUnlockScNotify>, IMessage, IEquatable<SyncRogueAreaUnlockScNotify>, IDeepCloneable<SyncRogueAreaUnlockScNotify>, IBufferMessage
	{
		// Token: 0x17003D23 RID: 15651
		// (get) Token: 0x0600D8C5 RID: 55493 RVA: 0x0024542C File Offset: 0x0024362C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SyncRogueAreaUnlockScNotify> Parser
		{
			get
			{
				return SyncRogueAreaUnlockScNotify._parser;
			}
		}

		// Token: 0x17003D24 RID: 15652
		// (get) Token: 0x0600D8C6 RID: 55494 RVA: 0x00245433 File Offset: 0x00243633
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SyncRogueAreaUnlockScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003D25 RID: 15653
		// (get) Token: 0x0600D8C7 RID: 55495 RVA: 0x00245445 File Offset: 0x00243645
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SyncRogueAreaUnlockScNotify.Descriptor;
			}
		}

		// Token: 0x0600D8C8 RID: 55496 RVA: 0x0024544C File Offset: 0x0024364C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAreaUnlockScNotify()
		{
		}

		// Token: 0x0600D8C9 RID: 55497 RVA: 0x00245454 File Offset: 0x00243654
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAreaUnlockScNotify(SyncRogueAreaUnlockScNotify other) : this()
		{
			this.areaId_ = other.areaId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D8CA RID: 55498 RVA: 0x00245479 File Offset: 0x00243679
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SyncRogueAreaUnlockScNotify Clone()
		{
			return new SyncRogueAreaUnlockScNotify(this);
		}

		// Token: 0x17003D26 RID: 15654
		// (get) Token: 0x0600D8CB RID: 55499 RVA: 0x00245481 File Offset: 0x00243681
		// (set) Token: 0x0600D8CC RID: 55500 RVA: 0x00245489 File Offset: 0x00243689
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint AreaId
		{
			get
			{
				return this.areaId_;
			}
			set
			{
				this.areaId_ = value;
			}
		}

		// Token: 0x0600D8CD RID: 55501 RVA: 0x00245492 File Offset: 0x00243692
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SyncRogueAreaUnlockScNotify);
		}

		// Token: 0x0600D8CE RID: 55502 RVA: 0x002454A0 File Offset: 0x002436A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SyncRogueAreaUnlockScNotify other)
		{
			return other != null && (other == this || (this.AreaId == other.AreaId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D8CF RID: 55503 RVA: 0x002454D0 File Offset: 0x002436D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.AreaId != 0U)
			{
				num ^= this.AreaId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D8D0 RID: 55504 RVA: 0x0024550F File Offset: 0x0024370F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D8D1 RID: 55505 RVA: 0x00245517 File Offset: 0x00243717
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D8D2 RID: 55506 RVA: 0x00245520 File Offset: 0x00243720
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.AreaId != 0U)
			{
				output.WriteRawTag(80);
				output.WriteUInt32(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D8D3 RID: 55507 RVA: 0x00245554 File Offset: 0x00243754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.AreaId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.AreaId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D8D4 RID: 55508 RVA: 0x00245592 File Offset: 0x00243792
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SyncRogueAreaUnlockScNotify other)
		{
			if (other == null)
			{
				return;
			}
			if (other.AreaId != 0U)
			{
				this.AreaId = other.AreaId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D8D5 RID: 55509 RVA: 0x002455C3 File Offset: 0x002437C3
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D8D6 RID: 55510 RVA: 0x002455CC File Offset: 0x002437CC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 80U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.AreaId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x0400564D RID: 22093
		private static readonly MessageParser<SyncRogueAreaUnlockScNotify> _parser = new MessageParser<SyncRogueAreaUnlockScNotify>(() => new SyncRogueAreaUnlockScNotify());

		// Token: 0x0400564E RID: 22094
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400564F RID: 22095
		public const int AreaIdFieldNumber = 10;

		// Token: 0x04005650 RID: 22096
		private uint areaId_;
	}
}
